package EveryDayPractice;

public class Practice10 {
     public static void main(String[] args) {
         int fantan=100;
         int x=100;
         for(int i=1;i<=10;i++) {
             fantan = fantan / 2;
             x+=fantan*2;
             if(fantan==0)
             {
                 System.out.println(i+"次时落地");
                 break;
             }
         }
         System.out.println("反弹了"+fantan);
         System.out.println("经过了"+x);
         }
}
